package com.xuetang9.vo.a;

import com.xuetang9.domain.User;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @工能 保存巡检任务查询中杆塔状态查询的显示数据
 * @作者 杜目杰
 * @时间 2020/5/22
 * @地点 公司
 * @版本 1.0.0
 * @版权 老九学堂
 */
public class InspectionTaskByPoleVO {
    /**
     * 任务发布时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date taskTaskCreate;
    /**
     * 字符串显示任务发布时间
     */
    private String taskCreate;
    /**
     * 完好率
     */
    private String pdIntactRate;
    /**
     * 缺陷等级
     */
    private String pdPoleDefectLevel;
    /**
     * 发现人
     */
    private String pdFinder;
    /**
     * 缺陷发现时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pdCreateTime;
    /**
     * 缺陷发现时间
     */
    private String findTime;
    /**
     * 缺陷名
     */
    private String dDefectName;
    /**
     * 任务执行人
     */
    private List<UserVO> users;

    @Override
    public String toString() {
        return "InspectionTaskByPoleVO{" +
                "taskTaskCreate=" + taskTaskCreate +
                ", pdIntactRate='" + pdIntactRate + '\'' +
                ", pdPoleDefectLevel='" + pdPoleDefectLevel + '\'' +
                ", pdFinder='" + pdFinder + '\'' +
                ", pdCreateCime=" + pdCreateTime +
                ", dDefectName='" + dDefectName + '\'' +
                ", users=" + users +
                '}';
    }

    public String getFindTime() {
        return findTime;
    }

    public void setFindTime(String findTime) {
        this.findTime = findTime;
    }

    public String getTaskCreate() {
        return taskCreate;
    }

    public void setTaskCreate(String taskCreate) {
        this.taskCreate = taskCreate;
    }

    public Date getTaskTaskCreate() {
        return taskTaskCreate;
    }

    public void setTaskTaskCreate(Date taskTaskCreate) {
        this.taskTaskCreate = taskTaskCreate;
    }

    public String getPdIntactRate() {
        return pdIntactRate;
    }

    public void setPdIntactRate(String pdIntactRate) {
        this.pdIntactRate = pdIntactRate;
    }

    public String getPdPoleDefectLevel() {
        return pdPoleDefectLevel;
    }

    public void setPdPoleDefectLevel(String pdPoleDefectLevel) {
        this.pdPoleDefectLevel = pdPoleDefectLevel;
    }

    public String getPdFinder() {
        return pdFinder;
    }

    public void setPdFinder(String pdFinder) {
        this.pdFinder = pdFinder;
    }

    public Date getPdCreateTime() {
        return pdCreateTime;
    }

    public void setPdCreateTime(Date pdCreateTime) {
        this.pdCreateTime = pdCreateTime;
    }

    public String getdDefectName() {
        return dDefectName;
    }

    public void setdDefectName(String dDefectName) {
        this.dDefectName = dDefectName;
    }

    public List<UserVO> getUsers() {
        return users;
    }

    public void setUsers(List<UserVO> users) {
        this.users = users;
    }
}
